package com.oauth.google.server.constants;

public enum GoogleServiceType {
	Blogger(
			"http://www.blogger.com/feeds/",
			"http://www.blogger.com/feeds/default/blogs",
			"oauth-app.appspot.com-blogger-v2"), 
	Calendar(
			"http://www.google.com/calendar/feeds/",
		    "http://www.google.com/calendar/feeds/default/allcalendars/full",
			"oauth-app.appspot.com-calendar-v2"), 
	Contacts(
			"http://www.google.com/m8/feeds/",
            "http://www.google.com/m8/feeds/contacts/default/full",
			"oauth-app.appspot.com-contacts-v2"),
	Finance(
			"http://finance.google.com/finance/feeds/",
            "http://finance.google.com/finance/feeds/default/portfolios",
            "oauth-app.appspot.com-finance-v2"), 
	Picasa( 
			"http://picasaweb.google.com/data/",
			"http://picasaweb.google.com/data/feed/api/user/default",
			"oauth-app.appspot.com-picasa-v2"), 
	Docs(
		   "https://docs.google.com/feeds/",
		   "https://docs.google.com/feeds/default/private/full/",
		   "oauth-app.appspot.com-docs-v2"
	),
	YouTube(
			"http://gdata.youtube.com/feeds/",
			"http://gdata.youtube.com/feeds/api/users/default/uploads",
			"oauth-app.appspot.com-youtube-v2"
	),
	Orkut(
			"http://orkut.gmodules.com/social",
			"http://sandbox.orkut.com/social/rpc",
			"oauth-app.appspot.com-orkut-v2"
	),
	Gmail(
			"https://mail.google.com/mail/feed/atom/",
			"https://mail.google.com/mail/feed/atom/", //Append label name here.
			"oauth-app.appspot.com-orkut-v2"
	);
	
	private GoogleServiceType(String pScope, String pFeedUrl,
			String pGoogleServiceName) {
		scope = pScope;
		feedUrl = pFeedUrl;
		googleServiceName = pGoogleServiceName;
	}

	/** The authentication scope of the request. */
	private String scope = "";

	/** The feed url of the request. */
	private String feedUrl;

	/** The Google service name for the request. */
	private String googleServiceName;

	public String getScope() {
		return scope;
	}

	public void setScope(String pScope) {
		scope = pScope;
	}

	public String getFeedUrl() {
		return feedUrl;
	}

	public void setFeedUrl(String pFeedUrl) {
		feedUrl = pFeedUrl;
	}

	public String getGoogleServiceName() {
		return googleServiceName;
	}

	public void setGoogleServiceName(String pGoogleServiceName) {
		googleServiceName = pGoogleServiceName;
	}

}
